package com.bstek.weixin.service;

import com.bstek.weixin.entity.Department;
import com.bstek.weixin.entity.WeixinUser;
import org.springframework.stereotype.Service;

/**
 * @Description 通信录处理接口
 * @Author snail
 * @Date 2019/1/7
 * @Version 1.0
 */
public interface IUserListService {

    /**
    *@Description  创建企业微信部门信息
    *@Author snail
    *@Date 2019/1/7
    *@return void
    **/
    public boolean createDepartment(Department dept) throws Exception;

    /**
     *@Description  修改企业微信部门信息
     *@Author snail
     *@Date 2019/1/7
     *@return void
     **/
    public boolean updateDepartment(Department dept) throws Exception;

    /**
     *@Description  删除企业微信部门信息
     *@Author snail
     *@Date 2019/1/7
     *@return void
     **/
    public boolean deleteDepartment(String deptId) throws Exception;

    /**
     *@Description  创建企业微信成员信息
     *@Author snail
     *@Date 2019/1/7
     *@return void
     **/
    public boolean createUser(WeixinUser user) throws Exception;

    /**
     *@Description  修改企业微信成员信息
     *@Author snail
     *@Date 2019/1/7
     *@return void
     **/
    public boolean updateUser(WeixinUser user) throws Exception;

    /**
     *@Description  删除企业微信成员信息
     *@Author snail
     *@Date 2019/1/7
     *@return void
     **/
    public boolean deleteUser(String userId) throws Exception;

}
